export default{

    api_suss_code:'0',  //接口调用成功code

    invalid_login:'E0001',  //登录失败code

    //判断环境 (接口地址)
    api_url:()=>{

        let HOST = process.env.HOST;
        
        if(HOST == 'prod'){
            //测试(npm run build)
            return 'http://xxm.dev.zhizhuguanjia.com/api/web/index.html';
        }else{
            //本地(npm run dev)
            return '/api/web/index.html';
        }
        
    },  

    timeout:10000,  //接口请求超时时间

}